package com.znsd.study.entity;

import java.io.Serializable;
import java.util.Date;

public class Comment implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Integer comment_id;
	private Integer issue_id;	//博客内容的ID
	private String username;	//评论者的用户名
	private Date comment_time;	//评论时间
	private String comment_content; //评论内容。
	private String issue_username; //上一级用户名。
	public Integer getComment_id() {
		return comment_id;
	}
	public void setComment_id(Integer comment_id) {
		this.comment_id = comment_id;
	}
	public Integer getIssue_id() {
		return issue_id;
	}
	public void setIssue_id(Integer issue_id) {
		this.issue_id = issue_id;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public Date getComment_time() {
		return comment_time;
	}
	public void setComment_time(Date comment_time) {
		this.comment_time = comment_time;
	}
	public String getComment_content() {
		return comment_content;
	}
	public void setComment_content(String comment_content) {
		this.comment_content = comment_content;
	}
	public String getIssue_username() {
		return issue_username;
	}
	public void setIssue_username(String issue_username) {
		this.issue_username = issue_username;
	}
	@Override
	public String toString() {
		return "Comment [comment_id=" + comment_id + ", issue_id=" + issue_id + ", username=" + username
				+ ", comment_time=" + comment_time + ", comment_content=" + comment_content + ", issue_username="
				+ issue_username + "]";
	}
	
}
